<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>


    <form action="http://localhost:3000/api/photo/dgtp" method="post" enctype="multipart/form-data">
        <div>
            <!-- multiple 表示选择多个文件 -->
            <input type="file" name="photo" multiple />
        </div>
        <br>
        <div>
            <button>测试上传多个图片</button>
        </div>
    </form>


    <!--  action="http://localhost:3000/api/photo/upload"  -->
    <!-- <form 
       
        action="http://localhost:3000/api/photo/preview" 
        method="post" 
        enctype="multipart/form-data">
                <div>
                    <input type="file" name="photo" />
                </div>
                <div>
                    <button>上传图片</button>
                </div>
    </form> -->


    <br>
    <br>
    <br>
    <!-- <form 
    action="http://localhost:3000/api/photo/uploadImg" 
    method="post" 
    enctype="multipart/form-data">
                <div>
                    <input type="file" name="photo"/>
                </div>
                <br>
                <div>
                    <button>测试上传图片</button>
                </div>
    </form> -->

    <!-- <br>
    <br>
    <form action="http://localhost:3000/api/banner/upload" method="post" enctype="multipart/form-data">
        <div>
            <input type="file" name="photo" />
        </div>
        <br>
        <div>
            <input type="text" name="token"
                value="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjoiODZiNTQzYWQtMjg3NC00NDMwLTkxMTQtYmVjZDIwMzRkYjE2IiwiaWF0IjoxNjk5NTc5MjY0LCJleHAiOjE2OTk2NjU2NjQsImlzcyI6Im9uZSJ9.crslwZq_tvvuaQY7qUi9VwxsBxh5zEPvBJUXMVaceEI">
        </div>
        <br>
        <div>
            <input type="text" name="href" value="http://abc.com">
        </div>
        <br>
        <div>
            <input type="text" name="banner_title" value="标题xxxxxx">
        </div>
        <br>
        <div>
            <input type="text" name="banner_content" value="内容xxxx">
        </div>
        <br>
        <div>
            <button>提交图片和其他信息</button>
        </div>
    </form> -->

</body>

</html>